home *** CD-ROM | disk | FTP | other *** search
/ Linux Cubed Series 2: Applications / Linux Cubed Series 2 - Applications.iso / circuits / pcb-1.000 / pcb-1 / pcb-1.3 / draw.h < prev    next >
C/C++ Source or Header  |  1995-02-26  |  2KB  |  59 lines

  1. /*
  2.  *                            COPYRIGHT
  3.  *
  4.  *  PCB, interactive printed circuit board design
  5.  *  Copyright (C) 1994,1995 Thomas Nau
  6.  *
  7.  *  This program is free software; you can redistribute it and/or modify
  8.  *  it under the terms of the GNU General Public License as published by
  9.  *  the Free Software Foundation; either version 2 of the License, or
  10.  *  (at your option) any later version.
  11.  *
  12.  *  This program is distributed in the hope that it will be useful,
  13.  *  but WITHOUT ANY WARRANTY; without even the implied warranty of
  14.  *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  15.  *  GNU General Public License for more details.
  16.  *
  17.  *  You should have received a copy of the GNU General Public License
  18.  *  along with this program; if not, write to the Free Software
  19.  *  Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
  20.  *
  21.  *  Contact addresses for paper mail and Email:
  22.  *  Thomas Nau, Schlehenweg 15, 88471 Baustetten, Germany
  23.  *  Thomas.Nau@rz.uni-ulm.de
  24.  *
  25.  *  RCS: $Header: draw.h,v 2.1 94/09/28 14:26:09 nau Exp $
  26.  */
  27.  
  28. /* prototypes for drawing routines
  29.  */
  30.  
  31. #ifndef    __DRAW_INCLUDED__
  32. #define    __DRAW_INCLUDED__
  33.  
  34. #include "global.h"
  35.  
  36. void    RedrawOutput(void);
  37. void    ClearAndRedrawOutput(void);
  38. void    SwitchDrawingWindow(int, Window);
  39. void    RedrawCurrentLayer(void);
  40. void    DrawVia(PinTypePtr);
  41. void    DrawPin(PinTypePtr);
  42. void    DrawLine(LayerTypePtr, LineTypePtr);
  43. void    DrawText(LayerTypePtr, TextTypePtr);
  44. void    DrawPolygon(LayerTypePtr, PolygonTypePtr);
  45. void    DrawElement(ElementTypePtr);
  46. void    DrawElementName(ElementTypePtr);
  47. void    DrawElementPackage(ElementTypePtr);
  48. void    DrawElementPins(ElementTypePtr);
  49. void    EraseVia(PinTypePtr);
  50. void    ErasePin(PinTypePtr);
  51. void    EraseLine(LineTypePtr);
  52. void    EraseText(TextTypePtr);
  53. void    ErasePolygon(PolygonTypePtr);
  54. void    EraseElement(ElementTypePtr);
  55. void    EraseElementName(ElementTypePtr);
  56. void    DrawGrid(void);
  57.  
  58. #endif
  59.